package com.group6.companymanagement.mapper;


import com.group6.companymanagement.entity.Position;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PositionMapper {
    List<Position> getAllPositions();
    Position getPositionById(Integer id);
    int deletePositionById(Integer id);

    int addPosition(Position position);

    int updatePosition(Position position);
}
